package com.cj.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangh73
 * @since 2021-01-11
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BusFileEntity对象", description="")
public class BusFileEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文档id")
    @TableId(value = "file_id", type = IdType.AUTO)
    private Long fileId;

    @ApiModelProperty(value = "文档类型")
    private String fileType;

    @ApiModelProperty(value = "文档名称")
    private String fileName;

    @ApiModelProperty(value = "文档地址")
    private String address;

    @ApiModelProperty(value = "附件大小")
    private Double size;

    @ApiModelProperty(value = "上传企业")
    private Long uploadDeptId;

    @ApiModelProperty(value = "上传人id")
    private Long uploadUserId;

    @ApiModelProperty(value = "上传人名称")
    private String uploadUserName;

    @ApiModelProperty(value = "上传时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "下载次数")
    private Integer downloadNum;


}
